<?php
if(session_start()) ;
require "lander.php";

echo "Started";
// hostname
$dbhost = "localhost";  
// utente per la connessione a MySQL 
$dbuser = "root";
// password per l'autenticazione dell'utente
$dbpassword = "";
// connessione tramite mysql_connect()
$dbname = "lander";

$mysqli = new mysqli($dbhost, $dbuser, $dbpassword, $dbname);

$da = new deeperAbyss($mysqli);
$da->mysqli->query("truncate table directories;");	
echo "<li><b>directories truncated.</b>";		 
flush();
$da->mysqli->query("truncate table files;");			 
echo "<li><b>files truncated.</b>";	
flush();
$da->mysqli->query("truncate table operation;");			 
echo "<li><b>directories operation.</b>";	
flush();
$da->mysqli->query("truncate table operation_status;");			 
echo "<li><b>directories operation_status.</b>";	
flush();

 
?>